package com.cvte.shop.generator.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cvte.shop.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @since 2019-04-15
 */
@Table(name = "SHOP_GENERATOR")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysGenerator extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 模块名称
     */
    @Column(name = "MODULE_NAME")
    private String moduleName;

    /**
     * 表名称
     */
    @Column(name = "TABLE_NAME")
    private String tableName;

    /**
     * 是否忽略前缀1：是
     */
    @Column(name = "IGNORE_FLAG")
    private Integer ignoreFlag;

    /**
     * 前缀
     */
    @Column(name = "IGNORE_PREFIX")
    private String ignorePrefix;

    /**
     * 是否生成rest接口1:是
     */
    @Column(name = "CREATE_REST")
    private Integer createRest;


}
